package com.lmy.demo0.entity;

import java.io.Serializable;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author mingzi
 * @since 2022-08-15
 */
@Getter
@Setter
  @ApiModel(value = "Equipment对象", description = "")
public class Equipment implements Serializable {

    private static final long serialVersionUID = 1L;
  @TableId(value = "id", type = IdType.AUTO)
      @ApiModelProperty("设备编号")
        private Integer id;

      @ApiModelProperty("设备名称")
      private String name;

      @ApiModelProperty("有何缺陷")
      private String problem;

      @ApiModelProperty("检修次数")
      private Integer cnt;

      @ApiModelProperty("是否报废")
      private String scrap;


}
